package com.lzcu.maoyan.maoyanweb.mapper;

import com.lzcu.maoyan.maoyanweb.pojo.MovieDetailed;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 电影详情
 *
 * @author WangLiang
 * @date 2024/4/22
 */
@Mapper
public interface MovieDetailedMapper {
    int insertData(MovieDetailed movieDetailed);
    MovieDetailed selectName(String name);
    List<Map<String, Object>> selectMovieCount();
    List<Map<String, Object>> selectMovieTypeCount();
    List<Map<String, Object>> selectMovieLeadingActor();
    List<Map<String, Object>> selectMovieTypeTotal();
}
